package com.zz.admin.mainTableManagement.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.io.Serial;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalTime;
import java.time.LocalDateTime;
import java.util.Map;

import com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler;
import lombok.Data;

/**
 * 主实体类
 *
 * @author zl
 * @since 2025-11-18 19:08:00
 */
@Data
@TableName(value = "main_table", autoResultMap = true)
public class MainTable implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;


    /**
     * 主键ID
     */
    @TableId
    @TableField(value = "id" )
    private String id;

    /**
     * 主表名称
     */
    @TableField(value = "name" )
    private String name;

    /**
     * 描述
     */
    @TableField(value = "description" )
    private String description;

    /**
     * 删除标志
     */
    @TableField(value = "del_flag" )
    private String delFlag;

    /**
     * 创建时间
     */
    @TableField(value = "create_time" )
    private LocalDateTime createTime;

    /**
     * 更新时间
     */
    @TableField(value = "update_time" )
    private LocalDateTime updateTime;


    // ================= 以下为自定义字段 =================

}
